package com.io.example.demoparent.service.impl;

import com.io.example.demoparent.bo.BizEvent;
import com.io.example.demoparent.service.BizEventListener;
import org.springframework.stereotype.Component;

/**
 * @program: demo-project
 * @ClassName MembershipHandlerListener
 * @description:
 * @author: 宠儿
 * @create: 2024−09-05 23:49
 * @Version 1.0
 **/
@Component
public class MembershipHandlerListener implements BizEventListener {
    @Override
    public boolean decide(BizEvent event) {
        return false;
    }

    @Override
    public void onEvent(BizEvent event) {
        System.out.println("会员群处理器:您已成功加入会员群");
    }
}
